package com.example.sysao.service;

import com.example.sysao.pejo.Repair;

import java.util.List;

public interface ReapirService {
    List<Repair> findAll();

    Repair findById(int id);

    boolean addRepair(Repair repair);

    boolean removeRepair(int id);

    boolean saveRepair(Repair repair);

    List<Repair> selectByKeyWords(String detial, String place);

    List<Repair> findByid();

    List<Repair> findByStatus();

    //admin
    List<Repair> findByStatus1(int page, int size);

    List<Repair> findByStatus1();

    List<Repair> findByDetail(String detail);

    List<Repair> findByStatus2();
}
